SUBDIRS :=
SUBDIRS += bionic
SUBDIRS += focal

all: build

build:
	@for n in $(SUBDIRS); do \
		echo ">>>>>>>>> processing folder $$n <<<<<<<<<"; \
		$(MAKE) -C $$n build || exit "$$?"; \
		echo "[ok] make $$n build Done!"; \
		echo " "; \
	done

push:
	@for n in $(SUBDIRS); do \
		echo ">>>>>>>>> processing folder $$n <<<<<<<<<"; \
		$(MAKE) -C $$n push || exit "$$?"; \
		echo "[ok] make $$n push Done!"; \
		echo " "; \
	done

clean:
	@for n in $(SUBDIRS); do \
		echo ">>>>>>>>> processing folder $$n <<<<<<<<<"; \
		$(MAKE) -C $$n clean || exit "$$?"; \
		echo "[ok] make $$n clean Done!"; \
		echo " "; \
	done

.PHONY: all build push clean
